package com.glaway.car.vo;

import java.math.BigDecimal;
import java.util.Arrays;

public class UserVO {
    private String username;
    private String plateNumber;
    private String phoneNumber;
    private byte[] aesPhoneNumber;
    private String carType;
    private BigDecimal batteryCapacity;
    private BigDecimal chargeCapacity;
    private BigDecimal chargeCost;
    private Integer chargeCount;

    public UserVO() {
    }

    public UserVO(String username, String plateNumber, String phoneNumber, byte[] aesPhoneNumber, String carType, BigDecimal batteryCapacity, BigDecimal chargeCapacity, BigDecimal chargeCost, Integer chargeCount) {
        this.username = username;
        this.plateNumber = plateNumber;
        this.phoneNumber = phoneNumber;
        this.aesPhoneNumber = aesPhoneNumber;
        this.carType = carType;
        this.batteryCapacity = batteryCapacity;
        this.chargeCapacity = chargeCapacity;
        this.chargeCost = chargeCost;
        this.chargeCount = chargeCount;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public byte[] getAesPhoneNumber() {
        return aesPhoneNumber;
    }

    public void setAesPhoneNumber(byte[] aesPhoneNumber) {
        this.aesPhoneNumber = aesPhoneNumber;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public BigDecimal getBatteryCapacity() {
        return batteryCapacity;
    }

    public void setBatteryCapacity(BigDecimal batteryCapacity) {
        this.batteryCapacity = batteryCapacity;
    }

    public BigDecimal getChargeCapacity() {
        return chargeCapacity;
    }

    public void setChargeCapacity(BigDecimal chargeCapacity) {
        this.chargeCapacity = chargeCapacity;
    }

    public BigDecimal getChargeCost() {
        return chargeCost;
    }

    public void setChargeCost(BigDecimal chargeCost) {
        this.chargeCost = chargeCost;
    }

    public Integer getChargeCount() {
        return chargeCount;
    }

    public void setChargeCount(Integer chargeCount) {
        this.chargeCount = chargeCount;
    }

    @Override
    public String toString() {
        return "UserVO{" +
                "username='" + username + '\'' +
                ", plateNumber='" + plateNumber + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", aesPhoneNumber=" + Arrays.toString(aesPhoneNumber) +
                ", carType='" + carType + '\'' +
                ", batteryCapacity=" + batteryCapacity +
                ", chargeCapacity=" + chargeCapacity +
                ", chargeCost=" + chargeCost +
                ", chargeCount=" + chargeCount +
                '}';
    }
}
